package mahi.nested;

public class CopyOfNestedExcample { // Top level class
	
	int i=2;
	
	public void nonStaticMethod() {
		class LocalClass{ //local class
			
		}
	}
	
	public static void staticMethod() {
		class LocalStaticClass{ //local static class
			
		}
	}
	
	
	class NonStaticInner{  // Non static inner class (instance inner class)
	
		
	}
	
	
	static class StaticInner{ //Static inner class
		
	}
	
	
	interface  TestInterface{  // static  interface
		
	}
	
	TestInterface testInterface = new TestInterface() {  }; // anonymous inner class
	
	
	public static void main(String[] args) {
		staticMethod();
	}
	
	
	
}
